package member_coupon

import (
	// "bp/cache"
	"bp/conf"
	"bp/db"

	"go.uber.org/zap"
)

type MemberCouponEntityServiceImp struct {
	dao  *db.PgDao
	slog *zap.SugaredLogger
	vars *conf.VarsSection
}

// New initialization
func New(
	pgdao *db.PgDao,
	slog *zap.SugaredLogger,
	vars *conf.VarsSection,
) *MemberCouponEntityServiceImp {
	return &MemberCouponEntityServiceImp{
		dao:  pgdao,
		slog: slog.With("module", "MemberCouponEntityService"),
		vars: vars,
	}
}

// MemberCouponOfferItemInfo 优惠券类优惠项目信息(试算+交易一样)
type MemberCouponOfferItemInfo struct {
	Sn             string `json:"sn"`
	CouponID       int64  `json:"coupon_id"`
	MemberCouponID int64  `json:"member_coupon_id"`
	Name           string `json:"name"`
	Desc           string `json:"desc"`
}
